$font_title="-*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*#Center"
$font="-*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*#Left"

Require {
  Templates = "True"
}

Background {
  Texture = "Solid #999999"
}

ColorMaps {
  ColorMap = "Selected" {
    Map = "#DDBB99" { To = "$COLOR_SELECTED" }
  }
  ColorMap = "Focused" {
    Map = "#DDBB99" { To = "$COLOR_FOCUSED" }
  }
  ColorMap = "Unfocused" {
    Map = "#DDBB99" { To = "$COLOR_UNFOCUSED" }
  }
  ColorMap = "Hoover" {
    Map = "#DDBB99" { To = "$COLOR_HOOVER" }
  }
  ColorMap = "Pressed" {
    Map = "#FFFFFF" { To = "#000000" }
    Map = "#000000" { To = "#FFFFFF" }
    Map = "#DDBB99" { To = "$COLOR_PRESSED" }
  }
}

Define = "Title" {
  Height = "25"
  Pad = "3 1 10 15"

  Focused = "Image title.xpm"
  Unfocused = "ImageMapped Unfocused pictures/title.xpm"

  Tab {
    Focused = "ImageMapped Focused pictures/title.xpm"
    FocusedSelected = "ImageMapped Focused pictures/title.xpm"
    Unfocused = "ImageMapped Unfocused pictures/title.xpm"
    UnfocusedSelected = "ImageMapped Unfocused pictures/title.xpm"
  }

  Separator {
    Focused = "ImageMapped Focused pictures/tab_separator.xpm"
    Unfocused = "ImageMapped Unfocused pictures/tab_separator.xpm"
  }

  Font {
    Focused = "$font_title"
  }

  FontColor {
    Focused = "$COLOR_FOCUSEDTEXT"
    FocusedSelected = "$COLOR_FOCUSEDTEXT"
    Unfocused = "$COLOR_UNFOCUSEDTEXT"
    UnfocusedSelected = "$COLOR_UNFOCUSEDTEXT"
  }
}

Define = "EmptyTitle" {
  Height = "0"
  Pad = "0 0 0 0"

  Focused = "Empty"
  Unfocused = "Empty"

  Tab {
    Focused = "Empty"
    FocusedSelected = "Empty"
    Unfocused = "Empty"
    UnfocusedSelected = "Empty"
  }

  Separator{
    Focused = "Empty"
    Unfocused = "Empty"
  }

  Font{
    Focused = "$font_title"
  }

  FontColor{
    Focused = "#000000"
    FocusedSelected = "#000000"
    Unfocused = "#000000"
    UnfocusedSelected = "#000000"
  }
}

Define = "Buttons" {
  Right = "Close" {
    Focused = "ImageMapped Focused pictures/button_close.xpm"
    Unfocused = "ImageMapped Unfocused pictures/button_close.xpm"
    Hoover = "ImageMapped Hoover pictures/button_close.xpm"
    Pressed = "ImageMapped Pressed pictures/button_close.xpm"
    Button = "1" { Actions = "Close" }
    Button = "3" { Actions = "Kill" }
  }
  Right = "Maximize" {
    Focused = "ImageMapped Focused pictures/button_full.xpm"
    Unfocused = "ImageMapped Unfocused pictures/button_full.xpm"
    Hoover = "ImageMapped Hoover pictures/button_full.xpm"
    Pressed = "ImageMapped Pressed pictures/button_full.xpm"
    Button = "1" { Actions = "Toggle Maximized 1 1"}
  }
  Right = "Iconify" {
    Focused = "ImageMapped Focused pictures/button_hide.xpm"
    Unfocused = "ImageMapped Unfocused pictures/button_hide.xpm"
    Hoover = "ImageMapped Hoover pictures/button_hide.xpm"
    Pressed = "ImageMapped Pressed pictures/button_hide.xpm"
    Button = "1" { Actions = "Set Iconified" }
  }
  Right = "Shade" {
    Focused = "ImageMapped Focused pictures/button_shade.xpm"
    Unfocused = "ImageMapped Unfocused pictures/button_shade.xpm"
    Hoover = "ImageMapped Hoover pictures/button_shade.xpm"
    Pressed = "ImageMapped Pressed pictures/button_shade.xpm"
    Button = "1" { Actions = "Toggle Shaded" }
  }
}

Define = "Border" {
  Focused {
    TopLeft = "ImageMapped Focused pictures/top_left.xpm"
    Top = "ImageMapped Focused pictures/topbottom_border.xpm"
    TopRight = "ImageMapped Focused pictures/top_right.xpm"
    Left = "ImageMapped Focused pictures/leftright_border.xpm"
    Right = "ImageMapped Focused pictures/leftright_border.xpm"
    BottomLeft = "ImageMapped Focused pictures/bottom_left.xpm"
    Bottom = "ImageMapped Focused pictures/topbottom_border.xpm"
    BottomRight = "ImageMapped Focused pictures/bottom_right.xpm"
  }

  Unfocused {
    TopLeft = "ImageMapped Unfocused pictures/top_left.xpm"
    Top = "ImageMapped Unfocused pictures/topbottom_border.xpm"
    TopRight = "ImageMapped Unfocused pictures/top_right.xpm"
    Left = "ImageMapped Unfocused pictures/leftright_border.xpm"
    Right = "ImageMapped Unfocused pictures/leftright_border.xpm"
    BottomLeft = "ImageMapped Unfocused pictures/bottom_left.xpm"
    Bottom = "ImageMapped Unfocused pictures/topbottom_border.xpm"
    BottomRight = "ImageMapped Unfocused pictures/bottom_right.xpm"
  }
}

Define = "EmptyBorder" {
  Focused{
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }

  Unfocused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
}

PDecor{

  Decor = "Default" {
    Title {
      @Title
      Buttons {
        @Buttons
      }
      Border {
        @Border
      }
    }
  }

  Decor = "CmdDialog" {
    Title {
      @EmptyTitle
      Border {
        @Border
      }
    }
  }

  Decor = "Menu" {
    Title {
      @Title
      Border {
        @Border
      }
    }
  }

  Decor = "Titlebarless" {
    Title {
      @EmptyTitle
      Border {
        @Border
      }
    }
  }

  Decor = "StatusWindow"{
    Title {
      @EmptyTitle
      Border {
        @Border
      }
    }
  }

  Decor = "WorkspaceIndicator" {
    Title {
      @EmptyTitle
      Border {
        @Border
      }
    }
  }
}

Menu {
  Pad = "0 0 4 16"

  Focused {
    Font = "$font"
    Background = "Solid $COLOR_FOCUSED"
    Item = "Empty"
    Text = "$COLOR_FOCUSEDTEXT"
    Separator = "Image menuline.xpm#Scaled"
    Arrow = "Empty"
  }

  Unfocused {
    Font = "$font"
    Background = "Solid $COLOR_UNFOCUSED"
    Item = "Empty"
    Text = "$COLOR_UNFOCUSEDTEXT"
    Separator = "Image menuline.xpm#Scaled"
    Arrow = "Empty"
  }

  Selected{
    Font = "$font"
    Background = "Solid #ffffff"
    Item = "Empty"
    Text = "#000000"
    Arrow = "Empty"
  }
}

CmdDialog {
  Font = "$font"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 3 1 3"
}

Dialog {
  Background = "Solid #DDBB99"
  TitleFont = "$font_title"
  TitleColor = "#000000"
  Font = "$font"
  Text = "#444444"
  Pad = "4 4 4 4"

  Button {
    Font = "$font"
    Text = "#000000"

    Focused = "SolidRaised #AABBCC #ffffff #000000 2 0"
    Unfocused = "SolidRaised #AABBCC #ffffff #000000 2 0"
    Hoover = "SolidRaised #BBCCDD #ffffff #000000 2 0"
    Pressed = "SolidRaised #AABBCC #000000 #ffffff 2 0"
  }
}

Harbour {
  Texture = "SolidRaised #DDBB99 #000000 #ffffff"
}

Status {
  Font = "$font"
  Texture = "Solid #FFFFFF"
  Text = "#000000"
  Pad = "4 2 10 30"
}

WorkspaceIndicator {
  Font = "$font_title"
  Background = "Solid #ffffff"
  Workspace = "Solid #cccccc"
  WorkspaceActive = "Solid #aaaaaa"
  Text = "#000000"
  EdgePadding = "2"
  WorkspacePadding = "2"
}
